<template>
  <el-dialog
    top="30px"
    width="1000px"
    title="项目推荐"
    append-to-body
    :close-on-click-modal="false"
    :visible.sync="visible"
    :before-close="beforeClose"
  >
    <el-tabs>
      <recom-main v-bind="$attrs" v-on="$listeners"></recom-main>
    </el-tabs>
  </el-dialog>
</template>

<script>
import RecomMain from '@/gov/views/bus/track/recom/components/Recom'
import { mapGetters } from 'vuex'
export default {
  components: {
    RecomMain,
  },
  props: {
    visible: Boolean,
  },
  data() {
    return {}
  },
  computed: {
    ...mapGetters(['user']),
    isArchiveManager() {
      return this.user.scopeArr.includes('dirReport')
    },
  },
  watch: {},
  created() {},
  mounted() {},
  methods: {
    beforeClose() {
      this.$emit('update:visible', false)
    },
  },
}
</script>

<style lang="scss" scoped></style>
